package com.heima.behavior.service;

import com.heima.model.behavior.dtos.LikesBehaviorDto;
import com.heima.model.behavior.dtos.ReadBehaviorDto;
import com.heima.model.behavior.dtos.UnLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @Auther: Tangguo
 * @Date: 2023-06-23  15:45
 */
public interface ApUserBehaviorService {

    /**
     * 点赞或取消点赞
     * @param dto:
     * @return ResponseResult
     */
    ResponseResult likeBehavior(LikesBehaviorDto dto);

    /**
     * 用户阅读
     * @param dto:
     * @return ResponseResult
     */
    ResponseResult readBehavior(ReadBehaviorDto dto);

    /**
     * 不喜欢
     * @param dto:
     * @return ResponseResult
     */
    ResponseResult unLike(UnLikesBehaviorDto dto);
}
